home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / network / atre12.zip / LF.ZIP / LF.H < prev    next >
C/C++ Source or Header  |  1991-07-05  |  3KB  |  63 lines

  1. /*****************************************************************************
  2.  ****                                                                     ****
  3.  **** lf.h                                                                ****
  4.  ****                                                                     ****
  5.  **** By A.Dwelly 2.10.90                                                 ****
  6.  ****                                                                     ****
  7.  **** This is an experimentors package, and demonstration of the          ****
  8.  **** learning algorithms and software developed by                       ****
  9.  **** Prof. W. A. Armstrong's group at The University of Alberta,         ****
  10.  **** Edmonton, Alberta, Canada.                                          ****
  11.  **** For technical details see `Experiments using Parsimonious Adaptive  ****
  12.  **** Logic` W. W. Armstrong, Jiandong Liang, Dekang Lin, Scott Reynolds  ****
  13.  **** For details of this implementation see `An Implementation of        ****
  14.  **** Armstrong Trees` A. Dwelly.                                         ****
  15.  ****                                                                     ****
  16.  **** Using this program:                                                 ****
  17.  ****                                                                     ****
  18.  **** The program lf implements a small language for controlling the      ****
  19.  **** atree software. It takes a single parameter which is the name of    ****
  20.  **** the file it is to execute, or if there is none, reads the standard  ****
  21.  **** input. The language is fully described in the `An implementation..' ****
  22.  **** document.                                                           ****
  23.  **** This file contains the data types for the program.                  ****
  24.  ****                                                                     ****
  25.  **** License:                                                            ****
  26.  ****                                                                     ****
  27.  **** Modification history:                                               ****
  28.  ****                                                                     ****
  29.  **** 2.10.90 Initial implementation, A.Dwelly                            ****
  30.  **** 91.05.20 Windows Port & Windows Extensions, M. Thomas               ****
  31.  ****                                                                     ****
  32.  *****************************************************************************/
  33.  
  34. #define TRUE 1
  35. #define FALSE 0
  36.  
  37. typedef int bool;
  38.  
  39. typedef struct prog_struct
  40. {
  41.     bool error;
  42.     bool warning;
  43.     int dimensions;
  44.     int trainset_sz;
  45.     int testset_sz;
  46.     int *quant;
  47.     float *quant_step;
  48.     float **train_table;
  49.     float **test_table;
  50.     int **test_table_quant;
  51.     float *largest;
  52.     float *smallest;
  53.     int *string_width;
  54.     int *walk_step;
  55.     int width_sum;
  56.     LPBIT_VEC *random_walk;
  57.     int tree_sz;
  58.     int max_correct;
  59.     int max_epochs;
  60.     int vote;
  61. }
  62. prog_type;
  63.